non-zero exit status fix