removed bugs in walking