fix coverage bug