Fixed gem location problem