fixed hashing to actually get an id other than 0