exit code fixed. 1 on failure