set root on routes