make Tweakbox compatible with version 2.0 of the framework