fixed to return the response in the decorator in the case of validation error