another fix for migrations