Fixed gps extraction. better tag handling