remove whitespace in config