small fix for migrations