restore versions of submodules