fixed online status showing correctly