workaround until JTS works