Corrected bug where config was not set