set ping to true