Fix line 713 : units -> units_dict