Erase resource