make sure figId keeps same case