fixed migration file problems