Whoops, fixed hash functions