Fixed delete issue.