fix selection delete bug #59