fix root bug for home page