Replace setting string by define constant