fix flags declaration to be consistent with dev