fix appendix/figure references in image section