Fix order on unix exceptions