fixed bug to allow object nodes to be refactored