Remove incorrect Flags attribute