config file bug fix