fix order of submodule checkout