added error indicator for hash lookup