Fix hash collision issue.