fixed onlinestatus returning false when online