Improve showErrors