Fix submodules ref issue