minor bug fix for hash support