small fix for the error message display