added geolocation to report page, fixed error on pageload