swapping to UNIX errors