add delete[] for 2d overlay in overlay destructor