remove pdf functionality