fixed exit_status for some situations where it produces wrong values.