fix interdependency version issue for add-class