bug fix in config