fix bug @ default value of debug var