fix config decoding error