# White pages before glossaries appendix

When I use the \printglossaries inside the environment appendices I get two extra white pages I cannot get rid of. Do you know how to remove them?

Here a MWE which has such problem:

\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries}
\usepackage[titletoc, page]{appendix}

\newacronym{abc}{ABC}{Alpha test}

\makeglossaries

\begin{document}
\chapter{Chapter 1}
\gls{abc}

\begin{appendices}

\printglossaries

\end{appendices}

\end{document}

• The \addcontentsline is not necessary, in my point of view – user31729 Apr 28 '15 at 17:26
• The appendices environment is the cause of the additional blank pages – user31729 Apr 28 '15 at 17:32
• \addcontentsline it is not necessary, it's true. But doesn't affect the output. – Stefano_g Apr 28 '15 at 20:36
• I know who downvoted my post: I can compare rep changes before and after and the treacherous tracks it leaves ;-) – user31729 Apr 30 '15 at 19:07

Ok I solved my question looking from another post. So if it is judged as a duplicate can be removed.

Here is a MWE with my desired output:

\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries}
\usepackage[titletoc, page]{appendix}

\newacronym{abc}{ABC}{Alpha test}

\makeglossaries

\begin{document}
\chapter{Chapter 1}
\gls{abc}

\begin{appendices}

\begingroup
\let\clearpage\relax
\printglossaries
\endgroup

\chapter{Appendix B}

\end{appendices}

\end{document}