fix coverage switch