clean code
merge for remote
add IO-Tty for Expect dependence