fix flag initializer