correct missing gems