fix message write, disable redirect and uos migration