corrects things trying to be loaded on pages where they shouldn't be loaded