remove broken pages from navigation