fix message properties