bug in doPing