fix a warning that didn't respect the flag