fix redirect with controller with parents