remove base2 notation for flags

fixes bug that prevented to evaluate correctly 1/0 values for optional extensions