fix copy node in python lib