improve way parsing process, to skip invalid ways and show a progress bar