fixed paperclip and migration issue