better key not found error message