fix for detecting coverage correctly.