convert visibility settings