fix errors in examples
fix domain sync for SineRs and SineDs