fixed incorrect root redirect