edit to main page, fixed create tab issue