fix error code 1