fixed bug that top page and tree page don't work when README is not eixtsts