[#8] Fix bug that prevented setting a default resource name