fix for the console