replace config constant by a variable