Main page bugfix