Removed superfluous error code