Bug fixed on hash