fixes where images are displayed although they may not be used by project