[fix] passing config