refactory the appendix label code style