leave a non login shell path can not be edit problem
add some debug code which will be remove later