avoid the use of `delete` in static objects.