remove a bug in migrations