fix model to paperclip