fixed non-top QObject destruction problems