fixed gen hash