replaced titleize with try(:titleize) everywhere