fixed the match trade part issue