pinger - fixed issue where wrong time variable was used