prevent loading images once already loaded