Fixed bug with setting config