[#57212010] fix visibility check