flag reload and ReferenceDelegate fix