fixed firefox issue where events didn't open