Showing all previous msg,fix bug