changed the error code