remove redundant vendor code