change all exceptional exit value to -1