fix fireEvent