correct error if ways are missing