fixes bug in occurrence viz