loop control on the ontolofy upload