resource removed if not loaded