Fix calling function on vendor stuff