modif. viewer.rb