fix encodingey thing in migraiton