clean up settings
clean up settings
breakout ping funcion