add fixes for upgrading fractal demo to v1 api