minor fixes
fix API doc generation