fixed edgecase for source coverage