Bug saving or importing variable if name =0 not saved

we test the name and the label value so it can be saved