fix NoMethodError in views