fixed bug on creating new message with time stamp issue