fix infinite recursion when not in coverage mode