merge mslib from tvd