bug fix for hash name and format checking