Thead sync fix