fixed debug var in setting