Hash bug fixed