quick workaround to rebuild a consistent env from tables.py