Fix paperclip security issue