fixed some issues with the application.erb.html