remove new resource saving code