cleanup global when displaying help