fixes error in _smartbox.html.erb