fixing the \newpage layout thing