get rid of unnecessary hashing