fixed paperclip issue