fix another bug related to empty names