add validation to paperclip models