remove unnecessary stuff
cleanup: move copyPart into utils
send event only for active part