fix coverage calc