cleaning up before moving submodule references