fix for api doc generation