fixing delete