fixed the console