rename duplicate error codes