fixed some problems in layout.erb