Fixed paperclip issue