lat lon bugfix in new error types