fix dom warnings during sync