Fixed disappearing output messages problem