fix for bad exit code in pr