Fixed error code numbering