Fixed a bug for the message read