preventing stacktrace for no WKT