correcting visibility problem