Bug when location not found

Bug fixed!