Fix time message crash