minor changes to nhash