fix main view