fix all format bugs in the main page, now it looks nice and neat