revert broken beardley loading optim
ensure pdf is displayed even if thumbnail creation was not possible