fixed vendor controller missing an end