fixes _assert_cfg_valid_for_action