fixed possible null lat,lng value when registering user