fixing a compile error in the new flags