fixes # 74.
fixes #72.
another update to table caching.