repairing bug about missing root route