Fixed type var being left over from old version