fixes for adding timestamps columns, and changing indexes