config handling
bug fix