fix on/off & ping