fixed the wall manipulation