Fixed error when adding new columns.