updated increment bug with Addconfig