Used path expand on x for nii.stub