fixed printpage plugin