fixed migration sync issue