Fix the bug that the clock value wasn't updated when posting a message.