fix for nested routes