call os.time in show_chat_msg only once