fix errors stopping page displays