wrote a new listener to manage the location, but it is still not finding the location