set proper config