tidy up some doc formatting