cleaner doc structure
fix unnecessary doc writes