fix tilde expansion bug
improve help message