Fixed error codes