finally changed groupXML to getXML()[
fix the implementation of getXML of charPanel and groupPanel
there is a bug with creating group