Fixed delete problem