Fix paperclip error.