fixes figure number