gems fixed