trap when XYZ dims can't be found