Fixed delete()