change debug_flag from true to false