Only last message output lasts