Use {tx(...)} instead of <tx ...>