some formatting and variable name fixes in HashedCollection