Fixed the console string bug