fix generic views