fix config strip