use SafeDelete for managed objects

- the managed objects must not be deleted using delete, there is GC for that
- updated style