Fixed config not saving all the time