fixed move-resource and remove-resource

The original function included code for moving one node to another
node, but this is not used