fixed doc bugs