better handle broken pages