fixed the wall bug