Fix validation and Paperclipe