some fixes related to Company.onlineVisitors