fixed deserialize methods for event and ActionEvent