a setting bug fixed

use local settings in loadconfig() method