improved histdel