Fixed some bugs, config file disabled.