fixed NA problem in units table