The number you used for your flag isn't proper and may cause issues.
Flags follow a progression by the power of 2, and are represented in hex generally so that they line up 1, 2, 4, 8 repeated so you don't have to do math to add to them. (0x80000000 = 2147483648)
the progression is like this...