trim the strings read from config file