click on variable is working but refresh is not ok