gem workaround