column names change breaks query