handle duplicate column ids more gracefully