Fixing incorrect api doc