fixed some doc bugs