fix the exit value