Fixed production error with paperclip