clear disabled flags