fix refresh ui