 							TERM_type='species'
 					</cf_qoq>
 				</cfif>
-
 			</cfif>
 			<cfif len(sugSubpecies) gt 0>
 				<cfquery name="gsm" dbtype="query">

						where
							TERM_type='genus'
					</cf_qoq>
				</cfif>

			</cfif>
			<cfif len(sugSpecies) gt 0>
				<cfquery name="gsm" dbtype="query">
					select term from hasclass where term_type='species'

			</cfloop>
			<cfif len(sugGenus) gt 0>
				<cfquery name="gsm" dbtype="query">
					select term,position_in_classification from hasclass where term_type='genus'
				</cfquery>
				<cfif gsm.term is not sugGenus>
					<cf_qoq>
