Custom entities and v2022 R1

SOLVED

Hi

we have noticed that for customers we have upgraded to v2022 R1 and that have custom entities that when navigating though the different custom pages screen the following message appears for a few seconds before the page loads:

"; charset=utf-8>

has anyone else come across this and is something that can be removed?