global debug warning for demo