routing corrected for root path