fixing getConfig format issue