fix questionable event referenceerror