bug in paperclip file