set default value on $keys