fix the hashing function...whoops! this could've been bad...all should be well now, though