visit stats fix