db migration fix