sanitize doc and remove reference to unused font