Bug on loading config fixed