Fixed Main page validation