v2.3 fix bug in migration