@leocg i tried doing so but nothing changed.
i should also mention that the issue occurs on certain pages (and the main page "/") of the url i visited during the custom domain change