fix the numbering of figures and tables