latest_version.rb / fix the space dealing with log file