fix repairs

- FIX errors when repairing and no vehicle nearbye
- FIX errors when repairing vehicles without windows