fixed some deprecated doc bugs