fixed main view control