fixed deep copy of label bug