fixed paperclip error