getting config correct