fixed console.c