Fixed a bug that failed to label the appendix chapters