Fixed code within console and heading formatting