small delete[] fix