Fixed the border bug on main page