fixing paperclip