Fix paperclip issue