corrected hash recognition bug