Tags replacement problem with ${}