remove non-dynamic visibility checks