cleanup for transferring repos