do correct clean up
reset sync bit in im