fix bug of -x