refactor busshell, adjust action of shell.