fixed config file bug