fixes hash bug
added missing store set/reset