* bug fix for "duplicate lines in console" issue