improve pdf display (just a little bit)