Fixed a bug with obtaining plat_values.