make raising not found error less confusing