delete barrier and add a 1000 usleep, and it's not a good solution