doc cleanup in filters