some bug fixes. root page ready