fix delete bug#5