doc base cleanup