handle xflag
fix non-input bug:
	try:|
waiting for handle -c and further test