fixes all broken links and pages without any layout