fix paperclip error