fix visibility quirks