Fixed error message display in util