fixup getConfig() to ignore BOM and garbage characters
set @desc for future use