avoid running into walls