I'm writing a paper using the article class, and using 2 figures side-by-side to condense material. I'm using the float package to make distinct figure labels for the appendix, that way appendix figure captions won't show up in the main list of figures. For some reason the first caption doesn't show up in the appendix figures, and the second caption is in the place of the first caption. Any ideas?
\documentclass[letterpaper,11pt]{article}
\usepackage{float}
\newfloat{figurea}{htbp}{lofa}[section]
\floatname{figurea}{Figure}
\usepackage{caption}
\captionsetup{labelsep=period,font=small,labelfont=bf,aboveskip=2ex,belowskip=0ex}
\usepackage[title]{appendix}
\begin{document}
\listoffigures
\section{Figures in main body}
\begin{figure}[htb]
\begin{minipage}[b]{0.48\textwidth}
\centering
\framebox[\textwidth]{First fig}
\caption{First fig.}
\label{fig1}
\end{minipage}
\hfill
\begin{minipage}[b]{0.48\textwidth}
\centering
\framebox[\textwidth]{Second fig}
\caption{Second fig.}
\label{fig2}
\end{minipage}
\end{figure}
\begin{appendices}
\section{Figures in appendix}
\begin{figurea}[htb]
\begin{minipage}[b]{0.48\textwidth}
\centering
\framebox[\textwidth]{First figa}
\caption{First figa.}
\label{figa1}
\end{minipage}
\hfill
\begin{minipage}[b]{0.49\textwidth}
\centering
\framebox[\textwidth]{Second figa}
\caption{Second figa.}
\label{figa2}
\end{minipage}
\end{figurea}
\end{appendices}
\end{document}