Fixed online status error, "null is not an object"