Fix value error in keyset initialize