repository clean up