api document fixes