the zxy flow was not correctly closed because the change state of x,y,z was not correcl;ty set