table versions and fix scenario creation bug