added helper to application.html.erb
fixed helper