fixing gem location problem