fix deps for api
moduleize truncate