refactored how namespaces are added to transaction name
refactored how action is added to transaction name