fixing a loading issue