delete  the sources to prepare reset