catch edgecase