set jxpath as optional