some fixes so posting data works after registering time series table type