fixed child event overwriting bug