change to map in case of no location