made generator first delete existing sources; should fix tifn problem...