found the mistake in "render_wall"