minor changes to nhash object