adding error text tag