clean up of repository