solving problem in the view message with the date