don’t delete the resource but the store recursively
apply a patch to helpers
Merge pull request #1287 from simod/issue-1284

patch to gs helpers as a workaround to a possible gs bug