MainView logalization fixed.