Replace dash in temp var name to underscore