Fixed a bug on KValue key