Fixed #1390: Fixed rename of resource

review: @devoncarew