fixed hash index-by jarrick