fixed vendor by_id market bug