modify main page and some eorrors