add public for submodule
Revert "add public for submodule"

This reverts commit 8b54e243e8566e89e2a8e00d5d7f988d888fc003.