fix for the migration template