debugging exit status