support changedir
cln up a little