Fix delete error