strip vendor prefix code