Fixed reference to flagProto