fix http route recursion