fig_caption counter reset working