removed unused error codes