changed the @custom_error hook to use Features