Fixed exit calls.