Fix main view