some fix of appendix d