bugfixes in replace_label option to DLDataProvider