cleaned up index and show view pages