type_copy bug