Fixed when change the URI inside a event