get rid of some old event/flag setups