quick fix to main view