updated bug fix where visitors are miscalculated