some fixes to the console stuff