fix references of things which moved to the appendix