Fixed dumping sh histroies.