alter get hash code algrithm.