add resetKeyValue method