fixed error message hash disply problem