fixed small issue that race processed results more than one time, due to threading.