modified end of line issue in dashboards.rb