display error message more pretty