wrong flag values... WHY?