remove extra comma in config object