fixed submodules and inmem