fix type of console