fixed refining terminal's team checks