Fix var assignment in coverage