remove unused resouces