remove 'path' from event