Fixed paperclip bug