Thats strange… Did you tried assigning the value from config to a string variable and try passing that?
Thanks