Fix for exitCode