api doc is wrong