fix API doc generation