wrong attribute table was checked for existense of column