fix for config not being set properly for multiple instances