fixed log file by stipping new lines returned from expect ifr values