fix bug in deep copy util
merge