fixed bug when address is blank