remove debug_enabled global