return not found error instead of rasiing useless case clause error