fixed configuration function definition