bug in path creation for submodule