trim after reading config file, fix for linux