Fix selectItem in pathway.