fix thumbnail not shown for pdf item