added cleanup to docs