orders migration fix