Fix undefined var in coverage checker