bugfix in the console