[fix] pass proper config object