fix about cost value access