avoid wall state controller now checks if there is a wall.