ok now i think i fixed the visibility test