paperclip fixes