fixed bug around deactivating column auto indexing