fix roleData delete last game and init bug