fixed doc to match API