fix UI re-sync