error correction in CWalkerStand