fixed visitors miscalculation bug