removed 3 delete / delete[] mismatches