fixed running and crouching issues.