fix walk bug