remove double key in key-var