fixing single point delete bug