fix thumbnail printing.