fix the exception about _update_label_buf when copying and pickling