fix cfg problem with Hash Accessor