clean some useless code in ChoseCharacterPanel