fix gems