Fixed onlinestatus bug