fix root url bug; issue#2