fixes pdf boolean