Fixes sgl export