Fixing migrate files