Fixed a bug for Submodule