solve message format bug