fixed numeric processes, rename some tags, escape ']' and remove '$'.