Corrected error codes