cleanup doc head