remove no longer needed resources