exit status fix