change library RequestHandler in checking error