cleaning up the migration spec