some fixes in Console