load config bug fixes & save config