gems fix