Fix object flag