bugfix paperclip