move sync processing under pixel conditional