fixed bug with debug flag i think
fixed debug flag issue. PYTHON WHY