fixing bug in avoid walls