fixed bug in parameter setting, made DuplicateEmitter function instance function