removing obsolete code, debug var remove