Changed \centering to \begin{center}...\end{center}