Bugfix for output content to console