more cleanup of repository