minor fix displaying error text