Fix: location was not retrieve on the first call