fix new flag syntax