fixes walking bug from behaviors