Check missing qtables parameter

This fix the problem saving PDFs