small flags missing fix