fixed event clobbering, terminal now gets added once