fix wrong delete