bad flag somehow got inserted