dataset needs to be cleared on dataswitch, clear flag