strip config file input
fix whitespace