Fix wrong delete operator