diff --git a/app/views/vehicles/index.html.erb b/app/views/vehicles/index.html.erb
index 4fd1874..15a0f37 100644
--- a/app/views/vehicles/index.html.erb
+++ b/app/views/vehicles/index.html.erb
@@ -16,7 +16,7 @@
<% Vehicle.all.each do |vehicle| %>
- <%= vehicle.qbo_customer.name %> <%= vehicle.to_s %> <%= button_to "Edit", vehicle, method: :edit %> <%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>
+ <%= vehicle.qbo_customer.name if vehicle.qbo_customer %> <%= vehicle.to_s %> <%= button_to "Edit", vehicle, method: :edit %> <%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>
<% end %>