Fixed NPE; When Loading, X,Y and Z all equal Z