Fix paperclip integration