geoloc not working
errors corrected