error text formatting fix