fix HW keys config