fix print view bug