fixed new hashcode in state