add not return val for write.msg