fixed config 2 dict and vice versa
fixed config 2 dict