fix for background geolocation showing error on chrome browser