Remove path from event