updates and bugfixes to type-form and hook to make it play well with geolocation