refactor hook
remove submodule