fixes to console support