unregister scriptables on destruction if not yet unregistered