fixed some wall bugs