fix head of submodules