agent hits Unknown column 'id' in 'field list'