System console output bug fix