improving config