fix error of searching trainer