general config bug fix