remove non-free resource