added paperclip fix