fixed paperclip migration issue