fix MapperEvent constructor