Fix hash index