remove main.html.erb, main/index page fix. event part.