fix to make tables/functors writeable