fixed exit cmd