deal with empty names (even thought that should nto happen)