stip whitespaces from retrieved config