- Update ref to sgl
- Disable cast warning