Fix delete issue.