fix config deserialization issue