fixing broken pages