fixed events and packet