fix PHP error that would have affected page content