get rid of Mime::PDF error