put figcaption into figure elements

put the fig caption into the figure element and no errors occurred