fixed vendor object to return if vendor is active