Added the reset of the terminal selectors