ui vars fix