fix logging and counter names with parantheses