fixing exit code 1