Migration manager fix. And saving lineStations.