fixed a config bug