minor fix to find out if vehicle was created or not.