use ```\centering``` instead of ```\begin{center}\end{center}```