add validation for request without images