fixing the model for paperclip