improve configuration