doc structure cleanup