fix main view design