make all config variables global, remove check which doesn't reproduce