Not every flag has to be set in "flags2", I think. Some still are defined in "flags".