fixing sessionhash to allow overrides