Fix JOSM compatibilty