fixes to migration file