remove pdf functionality fixes #118