Fixed ping/pong bug.