cleaned up index and show pages