Fixed errors in console output