Fixed delete error