remove unused codes and add a debut flag for DragonPhoenix