fixed bugs of memmove and negative hashcode