small fixes in main view