cleanup uncessary osc resources