Setting column ids correctly