fixed issue #36 GPS localization error