edge case fix for migration init task