fix the disabling of the terminal config