sync with four threads for compatibility