sglebs dirty workaround for #96