fixed switches view (not switching yet)