only add location if longitude and latitude are not null