fix bugs on trasp_helper