made sure all routes lead to root if unspecified