logic fix in goterm table