removed superfluous error codes