improve dark config