fix config arrays containing additional whitespace