dont try lookup if name is empty